<?php
	require("includes/database.php");
	
	session_start();
	session_unset($_SESSION['permisos']);
	session_unset($_SESSION['username']);
	session_unset($_SESSION['nombre']);
	session_unset($_SESSION['apellido']);
	session_unset($_SESSION['sucursal']);
	session_unset($_SESSION['idUsuario']);
	session_unset($_SESSION['idSucursal']);
	session_unset($_SESSION['reparabilidad']);
	session_unset($_SESSION['mySQL']);
	session_unset($_SESSION['result']);
	session_destroy();
	header("Location: ../index.php");
?>
